package cn.edu.sjtu.se.dslab.component.method;

public class MethodDependence {
	/**
	 * ID
	 */
	private long id;
	/**
	 * 被依赖的component
	 */
	private MethodComponent parent;
	/**
	 * 依赖的component
	 */
	private MethodComponent child;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public MethodComponent getParent() {
		return parent;
	}
	public void setParent(MethodComponent parent) {
		this.parent = parent;
	}
	public MethodComponent getChild() {
		return child;
	}
	public void setChild(MethodComponent child) {
		this.child = child;
	}
	
}
